package com.yazi.mxz.common.entity.beans;

import com.myframework.smhj.hibernate.Entity;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Setting entity. @author MyEclipse Persistence Tools
 */
@javax.persistence.Entity
@Table(name = "MXZ_SETTING", schema = "MXZ")
public class Setting extends Entity implements java.io.Serializable {

	// Fields

	private Integer settingId;
	private Integer type;
	private String name;
	private String value;
	private Integer status;
	private String remark;

	// Constructors

	/** default constructor */
	public Setting() {
	}

	/** minimal constructor */
	public Setting(Integer settingId, Integer type, String name, String value,
			Integer status) {
		this.settingId = settingId;
		this.type = type;
		this.name = name;
		this.value = value;
		this.status = status;
	}

	/** full constructor */
	public Setting(Integer settingId, Integer type, String name, String value,
			Integer status, String remark) {
		this.settingId = settingId;
		this.type = type;
		this.name = name;
		this.value = value;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors
	@Id
	@Column(name = "SETTING_ID", unique = true, nullable = false, precision = 8, scale = 0)
	public Integer getSettingId() {
		return this.settingId;
	}

	public void setSettingId(Integer settingId) {
		this.settingId = settingId;
	}

	@Column(name = "TYPE", nullable = false, precision = 2, scale = 0)
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "NAME", nullable = false, length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "VALUE", nullable = false, length = 1000)
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Column(name = "STATUS", nullable = false, precision = 2, scale = 0)
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "REMARK", length = 400)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}